#ifndef IOT_KIT
#define IOT_KIT

class iot_kit
{
public:
    iot_kit(/* args */);
    ~iot_kit();

    typedef struct device_info
    {
            unsigned char ph_value;
            unsigned char bright_state;
            unsigned char himidity;
            unsigned short temperature;
            unsigned int bright_value;
            unsigned char temp_unit_convert;
            unsigned char battery_state;
            unsigned char battery_percentage;
            unsigned char motor_ctrl;
            unsigned char light_ctrl;
    }device_info_t;

    typedef struct cmd_frame
    {
        unsigned char frame_head;
        unsigned char length;
        unsigned char cmd;
        unsigned char payload[66];    //最后两个字节是CRC
    }cmd_frame_t;

    device_info_t device_info;


 private:
    /* data */
};





#endif // !IOT_KIT
